import http from "@/http/index";

export default {
 
  select(params = {}) {
    return http.get("/api/po", params);
  },
  insert(body = {}) {
    return http.post("/api/po", body);
  },
  update(body = {}) {
    return http.put("/api/po", body);
  },
  delete(params = {}) {
    return http.delete("/api/po", params);
  },
  approve(params = {}) {
    return http.get("/api/po/approve", params);
  },
  reject(params = {}) {
    return http.get("/api/po/reject", params);
  },
  interrupt(params = {}) {
    return http.get("/api/po/interrupt", params);
  },

}